package com.example.chat.controller;

import com.example.chat.domain.dto.LoginFormDTO;
import com.example.chat.result.Result;
import com.example.chat.service.UserInfoService;
import com.example.chat.service.UserService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/userInfo")
@CrossOrigin
@Tag(name = "用户信息相关接口")
public class UserInfoController {
//
//    @Autowired
//    private UserInfoService userInfoService;

//    @Operation(summary = "获取用户信息接口")
//    @GetMapping("/getUserInfo/{id}")
//    public Result getUserInfo(@PathVariable Long id) {
//        return userInfoService.getUserInfo(id);
//    }

}
